def print_user(a, b, *args, c=777, **kw):
    print(a, b, c, args, kw)


print_user(1, 2)

print_user(1, 2, 3)

print_user(1, 2, 3, 4)

print_user(1, 2, 3, 4, 5)

print_user(1, 2, 3, 4, 5, 6, x=7, y=8, z=9, c=999)

a_dict = {'item1': 'blade', 'item2': 'shield'}

print_user(1, 2, **a_dict)

a_tuple = (6, 6, 6, 6)

print_user(1, 2, x=a_tuple)

print_user(1, 2, *a_tuple, **a_dict)

print('-----------------------------------')


def print_user2(a, b, c=777, *, d):
    print(a, b, c, d)


print_user2(1, 2, d=888)

print_user2(1, 2, 3, d=888)

print('-----------------------------------')


def print_user3(a, b, c=777, *args):
    print(a, b, c, *args)


print_user3(1, 2)

print_user3(1, 2, 3)

print_user3(1, 2, 3, 4)

print('-----------------------------------')
